import { Layout } from 'antd'
import Versions from '@renderer/components/Versions'
import styles from './index.module.less'
import Access from '../Access'

const { Header } = Layout
import { Avatar } from 'antd'

const Admin: React.FC = () => {
  return (
    <>
      <Access>
        <Layout className={styles.layout}>
          <Header className={styles.header}>
            <div className={styles.headerRight}>
              <Avatar style={{ backgroundColor: '#f56a00', verticalAlign: 'middle' }} size="large">
                测试
              </Avatar>
            </div>
          </Header>
        </Layout>
      </Access>
      <Versions></Versions>
    </>
  )
}
export default Admin
